import React,{useEffect,useRef} from 'react'


function JobMap() {
  let cont = useRef()
  useEffect(()=>{
    let AMap = window.AMap
    var map = new AMap.Map(cont.current);
  },[])
  return (
    <div style={{height:'300px'}} ref={cont}>
      {/* 此处渲染地图 */}
    </div>
  )
}

export default JobMap
